package com.bsdsma.visonManagementSystemapp.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bsdsma.visonManagementSystemapp.dto.*;
import com.bsdsma.visonManagementSystemapp.entity.Student;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface StudentService {
    PageRetDto<Student> search(UserSearchDto dto);
    List<Student> listAll();
    ListAllRetDto<Student> listAllWithRet();
    Student add(UserAddDto dto);
    Student update(Long id, UserAddDto dto);
    Student getById(Long id);
    void delete(Long id);
    int updateById(Student entity);
    Long count();
    List<DataGroupByDateDto> countByDay(Date beginDate, Date endDate);
    Student getByAccount(String account);
    Student getByCellphoneNumber(String cellphoneNumber);
    Student findByXuehaoAndStatus(Long xuehao, int status);
    Student getByXuehaoAndStatus(Student student);
    List<Student> list(QueryWrapper<Student> wrapper);
    Map<String, Object> bulkImport(List<UserAddDto> userList);
} 